using System;

namespace Admin.NET.Application.LAKALA.Dto.Response;

public class LKLRequest<T>
{
	/// <summary>
	/// reqData
	/// </summary>
	public T reqData { get; set; }

	public T req_data { get; set; }

	public string req_time => timestamp;

	/// <summary>
	///
	/// </summary>
	public string ver
	{
		get
		{
			return "1.0.0";
		}
		set
		{
		}
	}

	public string version { get; set; }

	/// <summary>
	///
	/// </summary>
	public string timestamp => DateTimeOffset.Now.ToUnixTimeSeconds().ToString();

	/// <summary>
	///
	/// </summary>
	public string reqId => Guid.NewGuid().ToString().Replace("-", "")
		.ToLower();
}
